namespace Bootsy.Core

interface IChatParticipant:
	def OnMessage(message as IChatMessage)
	
interface IChatUser:
	FullName as string:
		get
	
interface IChatMessage:
	Sender as IChatUser:
		get
	Body as string:
		get
	Chat as IChat:
		get
	
interface IChat:
	def PostMessage(body as string)
	
interface IChatService:
	Participants as (IChatParticipant):
		get
	def RegisterParticipant(participant as IChatParticipant)
